package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName chargeModelParamSelectMsg0x18
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeModelParamSelectMsg0x18 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String chargeGunNum;
    public static String chargeType;
    public static String carVIN;
    public static String batteryBMSCode;
    public static String batteryCasesNumber;
    public static String batteryCaseCode;
    public static String batteryCaseGroupEndFlag;


    @Value("${message.chargeModelParamSelectMsg2.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeModelParamSelectMsg0x18.versionDomain = versionDomain;
    }

    @Value("${message.chargeModelParamSelectMsg2.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeModelParamSelectMsg0x18.serialNumberDomain = serialNumberDomain;
    }

    @Value("${message.chargeModelParamSelectMsg2.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeModelParamSelectMsg0x18.commandCode = commandCode;
    }

    @Value("${message.chargeModelParamSelectMsg2.user-id}")
    public void setUserId(String userId) {
        ChargeModelParamSelectMsg0x18.userId = userId;
    }

    @Value("${message.chargeModelParamSelectMsg2.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeModelParamSelectMsg0x18.instructionsNumber = instructionsNumber;
    }

    @Value("${message.chargeModelParamSelectMsg2.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargeModelParamSelectMsg0x18.chargeGunNum = chargeGunNum;
    }

    @Value("${message.chargeModelParamSelectMsg2.charge-type}")
    public void setChargeType(String chargeType) {
        ChargeModelParamSelectMsg0x18.chargeType = chargeType;
    }
    @Value("${message.chargeModelParamSelectMsg2.car-VIN}")
    public void setCarVIN(String carVIN) {
        ChargeModelParamSelectMsg0x18.carVIN = carVIN;
    }
    @Value("${message.chargeModelParamSelectMsg2.battery-BMS-code}")
    public void setBatteryBMSCode(String batteryBMSCode) {
        ChargeModelParamSelectMsg0x18.batteryBMSCode = batteryBMSCode;
    }
    @Value("${message.chargeModelParamSelectMsg2.battery-cases-number}")
    public void setBatteryCasesNumber(String batteryCasesNumber) {
        ChargeModelParamSelectMsg0x18.batteryCasesNumber = batteryCasesNumber;
    }
    @Value("${message.chargeModelParamSelectMsg2.battery-case-code}")
    public void setBatteryCaseCode(String batteryCaseCode) {
        ChargeModelParamSelectMsg0x18.batteryCaseCode = batteryCaseCode;
    }
    @Value("${message.chargeModelParamSelectMsg2.battery-case-group-end-flag}")
    public void setBatteryCaseGroupEndFlag(String batteryCaseGroupEndFlag) {
        ChargeModelParamSelectMsg0x18.batteryCaseGroupEndFlag = batteryCaseGroupEndFlag;
    }
}
